package cn.iocoder.yudao.module.acm.controller.admin.onboardsupplyplan.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 航机管理-生产计划与分类关联新增/修改 Request VO")
@Data
public class SupplyPlanDetailSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "19011")
    private Long id;

    @Schema(description = "分类主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "20849")
    @NotNull(message = "分类主键不能为空")
    private Long supplyId;

    @Schema(description = "所需数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "所需数量不能为空")
    private Integer supplyQty;


}